int countKDifference(int* nums, int numsSize, int k) {
	int i = 0;
	int cnt = 0;
	for (i = 0; i < numsSize; i++) {
		int j = 0;
		for (j = i + 1; j < numsSize; j++) {
			if (abs(nums[i] - nums[j]) == k) {
				cnt++;
			}
		}
	}
	return cnt;
}